package com.spark.incoicings.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.spark.incoicings.dao.SupplierStatementMapper;
import com.spark.incoicings.service.SupplierStatementService;
import com.spark.invoicings.entity.SupplierStatement;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class SupplierStatementServiceImpl extends ServiceImpl<SupplierStatementMapper, SupplierStatement>
implements SupplierStatementService {
    @Resource
    private SupplierStatementMapper ssm;
    @Override
    public List<SupplierStatement> selectSupplierStatement(Integer supplierId) {
        return ssm.selectSupplierStatement(supplierId);
    }

    @Override
    public List<SupplierStatement> selectSupplierStatements(Map<String, Object> map) {
        return ssm.selectSupplierStatements(map);
    }
}
